<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.parent"))
  </label>
  <div class="col-sm-5">
    <input name="old_parentid" type="hidden" value="#(systemOrganize.parent_id ??)"/>
    <input name="systemOrganize.parent_id" type="hidden" value="#(systemOrganize.parent_id ??)" id="parentId" />
    <div class="row">
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" class="form-control" value="#(systemOrganize.parentName ??)"
                 accept=""id="parentName" jac_url="#(jxwebpath.item)service/organize/list/" jac_viewnum_url="#(jxwebpath.item)service/organize/viewNum/" jac_id="parentId" jac_change="changeOrganize()" />
          <div class="input-group-btn">
            <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-right" role="menu">
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.area"))
  </label>
  <div class="col-sm-5">
    <input name="systemOrganize.area_id" type="hidden" value="#(systemOrganize.area_id ??)" id="areaId" />
    <div class="row">
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" class="form-control" value="#(systemOrganize.area_name ??)"
                 accept=""id="areaName" jac_url="#(jxwebpath.item)service/area/list/" jac_viewnum_url="#(jxwebpath.item)service/areaId/viewNum/" jac_id="areaId" jac_change="changeArea()" />
          <div class="input-group-btn">
            <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
              <span class="caret"></span>
            </button>
            <ul class="dropdown-menu dropdown-menu-right" role="menu">
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">#(jxrb.message("systemOrganize.organizeType"))</label>
  <div class="col-sm-2">
    #modeltag({tagcode:"jxbrms_systemdict_list",where:"DICTTYPE_ID=?",params:"organize_type"})
    <select class="form-control m-b" name="systemOrganize.organize_type">
      #for(x : systemdict_list)
      <option value="#(x.dict_id)"  #if((systemOrganize.organize_type ??) == x.dict_id) selected #end>#(x.dict_name)</option>
      #end
    </select>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.organizeCode"))
  </label>
  <div class="col-sm-9">
    <input name="systemOrganize.organize_code" class="form-control" type="text" value="#(systemOrganize.organize_code ??)" id="organizeCode"/>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.organizeName"))
  </label>
  <div class="col-sm-9">
    <input type="hidden" name="systemOrganize.organize_id" value="#(systemOrganize.organize_id ??)" />
    <input name="systemOrganize.organize_name" jtag='#jx_msg({key:"systemOrganize.organizeName"})'class="form-control" type="text" value="#(systemOrganize.organize_name ??)" id="organizeName"/>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.description"))
  </label>
  <div class="col-sm-9">
    <textarea rows="2" class="form-control" name="systemOrganize.description">#(systemOrganize.description ??)</textarea>
  </div>
</div>
<div class="hr-line-dashed"></div>
#include("phone.html")
#include("eMail.html")
#include("IM.html")
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("public.viewnum"))
  </label>
  <div class="col-sm-9">
    <input name="old_view_num" type="hidden" value="#((treeInfo.createTreeNode(systemOrganize).treeNode.treeLevelInfo.viewNum ??)-1)"/>
    <input name="view_num" class="form-control" type="text" value="#((treeInfo.createTreeNode(systemOrganize).treeNode.treeLevelInfo.viewNum ??)-1)" id="viewNum"/>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOrganize.subArea"))
  </label>
  <div class="col-sm-9">
    <input type="hidden" name="sub_area_id" id="sub_area_id" value="" />
    <input type="hidden" name="old_sub_area_id" id="old_sub_area_id" value="" />
    <div class="zTreeDemoBackground" style="width: 230px;">
      <ul id="treeInfo" class="ztree"></ul>
    </div>
  </div>
</div>
<div class="hr-line-dashed"></div>
#if(action == "added" || action == "edited")
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOperateTime"))
  </label>
  <div class="col-sm-9">
    #(systemOrganize1.operate_time ??)
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOperator"))
  </label>
  <div class="col-sm-9">
    #(systemOrganize1.operator ??)
  </div>
</div>
<div class="hr-line-dashed"></div>
#else
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOperateTime"))
  </label>
  <div class="col-sm-9">
    #(systemOrganize.operate_time ??)
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("systemOperator"))
  </label>
  <div class="col-sm-9">
    #(systemOrganize.operator ??)
  </div>
</div>
<div class="hr-line-dashed"></div>
#end